<template>
  <footer id="footer">
    <ul>
      <router-link tag="li" to="/movie" class="active">
        <span class="iconfont">&#xee1a;</span>
        <P>电影</P>
      </router-link>
      <router-link tag="li" to="/cinema">
         <span class="iconfont">&#xe67e;</span>
        <p>影院</p>
      </router-link>
      <router-link tag="li" to="/mine">
           <span class="iconfont">&#xe6c5;</span>
        <p>我的</p>
      </router-link>
    </ul>
  </footer>
</template>

<script>
export default {
  name: "tabbar",
};
</script>

<style scoped>
#footer {
  width: 100%;
  height: 50px;
  background: white;
  border-top: 2px #ebe8e3 solid;
  position: fixed;
  left: 0;
  bottom: 0;
}
#footer ul {
  display: flex;
  text-align: center;
  height: 50px;
  align-items: center;
}
#footer ul li {
  flex: 1;
  height: 40px;
   display: flex;
   flex-flow: column;
   font-size: .3rem;
}

.router-link-active{
  color: #ff4004;
}

</style>